﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibNiconico.NiconicoApi.Internal;
using System.Xml.Linq;
namespace LibNiconico.NiconicoApi.Videos.Comments
{
    /// <summary>
    /// ニコニコ動画チャットコメント
    /// </summary>
    public sealed class NicoVideoChatComment : NicoChatCommentBase
    {
        internal NicoVideoChatComment() { }

        /// <summary>
        /// XMLメッセージ解析
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        public static NicoVideoChatComment Parse(XElement message)
        {
            NicoVideoChatComment rslt = new NicoVideoChatComment();
            NicoChatCommentBase.Parse(rslt, message);
            return rslt;
        }
    }
}
